package main.Concurrent.Iteration;

import java.io.Serializable;

import com.googlecode.actorom.Address;

public class IterationOperationConstructionMessage<E, R, A> implements Serializable {
    private Address runnerAddress;
    private IterationOperation<E, R, A> operation;
    
    public IterationOperationConstructionMessage(Address runnerAddress, 
            IterationOperation<E, R, A> operation) {
        this.runnerAddress = runnerAddress;
        this.operation = operation;
    }
    
    public Address getRunnerAddress() {
        return this.runnerAddress;
    }
    
    public IterationOperation<E, R, A> getOperation() {
        return this.operation;
    }
}
